import api from "./api"
import axios from "../../../axios";

export const FeedbackQuery = (params) => {
    return axios({
        method: "get",
        url: api.Feedback.FeedbackQuery,
        params,
        headers: {
            "Authorization": window.localStorage.getItem('token')
        }
    })
}

//新增反馈
export const AddFeedback = (data) => {
    return axios({
        method: "post",
        url: api.Feedback.addFeedback,
        data,
        headers: {
            "Authorization": window.localStorage.getItem('token')
        }
    })
}
